ListModelIF.getObject

Get the item at @position.

If @position is greater than the number of items in @list, %NULL is returned.

%NULL is never returned for an index that is smaller than the length of the list.

This function is meant to be used by language bindings in place of g_list_model_get_item().

See also: g_list_model_get_n_items()

interface ListModelIF
getObject
()

Parameters

position uint

the position of the item to fetch

Return Value

Type: ObjectG

the object at @position.

Meta

Since

2.44